package com.zhanghe.mall.pojo.repository;

import com.zhanghe.mall.pojo.Commodity;
import com.zhanghe.mall.pojo.Manager;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * ManagerRepository
 *
 * @author Clevo
 * @date 2018/8/2
 */
public interface ManagerRepository extends JpaRepository<Manager,Long> {

    Manager findByGithubAuthid(Long githubAuthid);

    Manager findByUserName(String userName);
}
